import request from '@/utils/request'
//获取最新的事件id
export function getLatestAccident(){
    return request({
        url: '/accidentmanagment/accidentUpload/latest',
        method: 'get',
      })
}
//获取与事件相关的图片与视频
export function getImg(id){
  return request({
    url: '/accidentmanagment/accidentUpload/getImg/'+id,
    method: 'get',
  })
}

export function getContingencyPlan(){
  return request({
    url:'/accidentHandle/contingencyplan',
    method:'get'
  })
}